package com.baoyouqun.domain.CreateCmd;

import io.swagger.annotations.ApiModelProperty;
import jakarta.validation.constraints.NotBlank;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

@Data
public class BackUserCreateCmd implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "名字")
    private String name;

    @ApiModelProperty(value = "注册号码")
    @NotBlank(message = "注册号码不能为空")
    private String cellphone;

    @ApiModelProperty(value = "后台人员")
    private Boolean backWorker;

    private List<String> roleIds;
}